<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns:c="http://java.sun.com/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:fmt="http://java.sun.com/jstl/fmt"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:tr="http://myfaces.apache.org/trinidad"
	xmlns:trh="http://myfaces.apache.org/trinidad/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:x="http://java.sun.com/jsp/jstl/xml">
	<ui:composition template="/preview/activity-panel.xhtml">
		<tr:panelBox background="light" text="Calculate Cost Estimate"
			width="100%">

			<tr:panelFormLayout inlineStyle="width:100%">

				<tr:panelCaptionGroup captionText="Relevant Information"
					disabled="true" id="structured_CostTable">
					<trh:tableLayout borderWidth="0" cellPadding="2" width="100%">
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_ProjectID"
									value="ProjectID:" />
							</trh:cellFormat>
							<tr:inputText disabled="true"
								id="id_ProjectInformation_ProjectID" simple="true"
								value="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['ProjectID']}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_HighPriority"
									value="HighPriority:" />
							</trh:cellFormat>
							<tr:selectBooleanCheckbox disabled="true"
								id="id_ProjectInformation_HighPriority"
								selected="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['HighPriority']}"
								simple="true" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_DesignRequirements"
									value="Design Requirements:" />
							</trh:cellFormat>
							<tr:inputText rows="20" columns="100" disabled="true"
								id="id_ProjectInformation_DesignRequirements" simple="true"
								value="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['DesignRequirements']}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_EvaluationDetails"
									value="Evaluation Details:" />
							</trh:cellFormat>
							<tr:inputText rows="20" columns="100" disabled="true"
								id="id_ProjectInformation_EvaluationDetails" simple="true"
								value="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['EvaluationDetails']}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_TextDesign"
									value="Text Design:" />
							</trh:cellFormat>
							<tr:selectBooleanCheckbox disabled="true"
								id="id_ProjectInformation_TextDesign"
								selected="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['TextDesign']}"
								simple="true" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_ProjectInformation_GraphicDesign"
									value="Graphic Design:" />
							</trh:cellFormat>
							<tr:selectBooleanCheckbox disabled="true"
								id="id_ProjectInformation_GraphicDesign"
								selected="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['GraphicDesign']}"
								simple="true" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_CostTable_TexterWageRate"
									value="Wage Rate Texter:" />
							</trh:cellFormat>
							<tr:inputText disabled="true" id="id_CostTable_TexterWageRate"
								label="TexterWageRate" simple="true"
								validator="#{structuredDataValidator.validateFloat}"
								value="#{CalculateCostEstimateBean.costTableWrapper.complexType['TexterWageRate']}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_CostTable_DesignerWageRate"
									value="WageRate Designer:" />
							</trh:cellFormat>
							<tr:inputText disabled="true" id="id_CostTable_DesignerWageRate"
								label="DesignerWageRate" simple="true"
								validator="#{structuredDataValidator.validateFloat}"
								value="#{CalculateCostEstimateBean.costTableWrapper.complexType['DesignerWageRate']}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_CostTable_SalesWageRate"
									value="Wage Rate Sales:" />
							</trh:cellFormat>
							<tr:inputText disabled="true" id="id_CostTable_SalesWageRate"
								label="SalesWageRate" simple="true"
								validator="#{structuredDataValidator.validateFloat}"
								value="#{CalculateCostEstimateBean.costTableWrapper.complexType['SalesWageRate']}" />
						</trh:rowLayout>

						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="Agreement_State_Description"
									value="Agreement State Description:" />
							</trh:cellFormat>
							<tr:inputText rows="20" columns="100" disabled="true"
								id="Agreement_State_Description"
								label="Agreement State Description" simple="true"
								value="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['Agreement_State_Description']}" />
						</trh:rowLayout>

					</trh:tableLayout>
				</tr:panelCaptionGroup>



				<tr:panelCaptionGroup captionText="Calculate Cost Estimate"
					disabled="true" id="CalcCostEstimate">
					<trh:tableLayout borderWidth="0" cellPadding="2" width="100%">
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="TexterHours" value="Texter Hours:" />
							</trh:cellFormat>
							<tr:inputText disabled="false" id="TexterHours"
								value="#{CalculateCostEstimateBean.texterHours}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="DesignerHours" value="Designer Hours:" />
							</trh:cellFormat>
							<tr:inputText disabled="false" id="DesignerHours"
								value="#{CalculateCostEstimateBean.designerHours}" />
						</trh:rowLayout>
						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="SalesHours" value="Sales Hours:" />
							</trh:cellFormat>
							<tr:inputText disabled="false" id="SalesHours"
								value="#{CalculateCostEstimateBean.salesHours}" />
						</trh:rowLayout>

						<trh:rowLayout>
							<hr color="grey" width="300px" size="x" align="center"></hr>
						</trh:rowLayout>

						<trh:rowLayout>
							<tr:commandButton disabled="false" text="Calculate Cost Estimate"
								id="calcButton" />
						</trh:rowLayout>

						<trh:rowLayout>
							<hr color="grey" width="300px" size="x" align="center"></hr>
						</trh:rowLayout>

						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="CalcResult"
									value="Calculated Cost Estimate:" />
							</trh:cellFormat>
							<tr:inputText disabled="true" id="CalcResult"
								value="#{CalculateCostEstimateBean.calcResult}" />
						</trh:rowLayout>


						<trh:rowLayout>
							<trh:cellFormat width="15%">
								<tr:outputLabel for="id_CostCalc" value="Final Cost Estimate:" />
							</trh:cellFormat>
							<tr:inputText disabled="false" id="id_CostCalc"
								value="#{CalculateCostEstimateBean.projectInformationWrapper.complexType['CostCalc']}" />
						</trh:rowLayout>
					</trh:tableLayout>
				</tr:panelCaptionGroup>

				<tr:panelCaptionGroup captionText="Attachments" disabled="false"
					id="download_panel">
					<iframe
						src="http://localhost:8080/PinkBlob/filebrowser/?pid=#{CalculateCostEstimateBean.projectInformationWrapper.complexType['ProjectID']}"
						name="filebrowser" width="600" height="215" frameborder="0">
					Your Browser does not support IFRAMES! </iframe>
				</tr:panelCaptionGroup>



			</tr:panelFormLayout>
		</tr:panelBox>


	</ui:composition>
</f:view>



